package com.ycz.algorithm.utils.tree;

/**
 * @author yancz
 * @ClassName TreeNode
 * @description: 二叉树节点类
 * @date 2024-12-18 16:25:04
 * @version: 1.0
 */
public class TreeNode {

    int val; // 节点值

    TreeNode left; // 左节点

    TreeNode right; // 右节点

    TreeNode(int val) {
        this.val = val;
    }

}
